<?php
require_once './config.php';
require_once './redis.php';

$count = redis()->dbSize();
$data  = redis()->lrange($cacheName, 0, -1);
echo "总计：" . $count - 1;
echo "<table>";
foreach ($data as $k => $v) {
    echo "<tr><td>" . $v . "</td><td>" . redis()->get($v) . "</td></tr>";
}
echo "</table>";
